/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.pig4cloud.pig.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pig4cloud.pig.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 服务订单投诉
 *
 * @author wangyl
 * @date 2023-06-05 09:10:49
 */
@Data
@TableName("serve_order_complaint")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "服务订单投诉")
public class ServeOrderComplaint extends BaseEntity {

    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description ="ID")
    private Integer id;

    /**
     * 订单ID
     */
    @Schema(description ="订单ID")
    private Integer orderId;

    /**
     * 订单编号
     */
    @Schema(description ="订单编号")
    private Integer orderNo;

    /**
     * 用户id
     */
    @Schema(description ="用户id")
    private Integer userId;

    /**
     * 用户微信名
     */
    @Schema(description ="用户微信名")
    private String userWechatName;

    /**
     * 用户手机号
     */
    @Schema(description ="用户手机号")
    private String userPhone;

    /**
     * 工程师ID
     */
    @Schema(description ="工程师ID")
    private Integer engineerId;

    /**
     * 工程师类型
     */
    @Schema(description ="工程师类型")
    private Integer engineerType;

    /**
     * 工程师实名
     */
    @Schema(description ="工程师实名")
    private String engineerRealName;

    /**
     * 工程师手机号
     */
    @Schema(description ="工程师手机号")
    private String engineerPhone;

    /**
     * 投诉类型
     */
    @Schema(description ="投诉类型")
    private Integer complaintType;

    /**
     * 投诉描述
     */
    @Schema(description ="投诉描述")
    private String complaintDescribe;

    /**
     * 投诉图片
     */
    @Schema(description ="投诉图片")
    private String complaintImages;

    /**
     * 投诉时间
     */
    @Schema(description ="投诉时间")
    private LocalDateTime complaintTime;

    /**
     * 反馈内容
     */
    @Schema(description ="反馈内容")
    private String feedbackContent;

    /**
     * 反馈图片
     */
    @Schema(description ="反馈图片")
    private String feedbackImages;

    /**
     * 反馈时间
     */
    @Schema(description ="反馈时间")
    private LocalDateTime feedbackTime;

    /**
     * 状态：0：待处理，1：已处理
     */
    @Schema(description ="状态：0：待处理，1：已处理")
    private Integer state;

    /**
     * 结果：0：投诉未成立，1：投诉成立
     */
    @Schema(description ="结果：0：投诉未成立，1：投诉成立")
    private Integer result;


}
